package com.bd.scm.module.enums;

import lombok.Getter;

/**
 * 功能模块枚举
 *
 * @author yufc
 */
@Getter
public enum ModuleEnum {

    USER("M80001", "员工列表"),
    USER_CHANGE("M80003", "员工调动"),
    USER_PERSONAL("M80005", "员工个人信息"),

    SHIFT("M80021", "班次定义"),
    SHIFT_DEPT("M80023", "班次与部门配置"),
    SHIFT_DEPT_RULE("M80025", "规律班次与部门配置"),

    SCHEDULE("M80027", "排班"),
    SCHEDULE_OT("M80029", "排班生成加班单"),

    OVERTIME("M80031", "加班"),
    LEAVE("M80033", "请假"),
    REPAIR("M80035", "补出勤"),

    APPROVE("M80037", "审批中心"),
    APPROVE_AD("M80039", "审批知会"),

    ACCOUNT_LOCK("M80041", "考勤封帐"),
    OVERTIME_SETTLE("M80043", "加班结算"),

    TIMECARD("M80045", "考勤卡"),
    VACATION("M80047", "时间银行"),
    LEAVE_TYPE("M80100", "假类定义"),
    ;//这个后面必须有分号

    private String code;
    private String name;


    private ModuleEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

}
